<template>
    <div class="request-send-result">
        <!-- 结果列表 -->
        <a-card class="request-global-config">
            <a-tag class="mb-2" color="green">
                发送结果
            </a-tag>
            <div class="content" v-if="result">
                <editor
                    editor-type="json"
                    :source="result"
                    height="150px"
                />
            </div>
        </a-card>
    </div>
</template>

<script setup lang="ts">
import { inject } from 'vue';
import editor from '@/components/editor/index.vue'

const result = inject('result')

</script>

<style lang='scss' scoped></style>